$(document).ready(function(){
    $('#submit_button').click(function(){
        if($('#design_name').val() == '' || $('#category').val() == ''){
            alert('信息不完整');
        }else{
            $.post('index.php?m=design&p=participate&action=submit_data',$('#submit_design').serializeArray(),function(data){
                alert('操作成功');
            },'json');
        }
    });
});